<template>
  <div class="CustomButton">
    <el-button
      :type="primary"
      :size="formItemConfig.otherConfig.size"
      :color="formItemConfig.otherConfig.color"
      @click="formItemConfig.onclick(form)"
      >{{ formItemConfig.labelName }}</el-button
    >
  </div>
</template>

<script>
export default {
    inheritAttrs: false,// 不让子组件的根节点渲染属性
    name:"button",
    path:"Button/Index"
}
</script>
<script setup>
import { ref, reactive, onMounted, inject } from "vue";
const props = defineProps(["formItemConfig"]);
// const form = inject("form");

const disabled = ref(false);
</script>
